package com.shixj.ef.vo;

import org.apache.http.client.methods.CloseableHttpResponse;

import java.io.Serializable;

/**
 * Created by shixj on 2017/9/19.
 */
public class FetchResponse implements Serializable {

    private CloseableHttpResponse httpResponse;
    private FetchRequest fetchRequest;

    public CloseableHttpResponse getHttpResponse() {
        return httpResponse;
    }

    public void setHttpResponse(CloseableHttpResponse httpResponse) {
        this.httpResponse = httpResponse;
    }

    public FetchRequest getFetchRequest() {
        return fetchRequest;
    }

    public void setFetchRequest(FetchRequest fetchRequest) {
        this.fetchRequest = fetchRequest;
    }

    public FetchResponse( FetchRequest fetchRequest,CloseableHttpResponse httpResponse) {
        this.httpResponse = httpResponse;
        this.fetchRequest = fetchRequest;
    }

    public FetchResponse() {
    }
}
